package cn.edu.neusoft.cqy917.zyfypt_cqy917.service;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;


public interface ExistsService {
    @GET("api.php/create/mod/{mod}")
    Call<String>
    exists(@Path("mod") String mod,
            @Query("idolid") int idolid,
            @Header("SessionID") String SessionID);

    @GET("api.php/delete/mod/{mod}")
    Call<String>
    unexists(@Path("mod") String mod,
              @Query("idolid") int idolid,
              @Header("SessionID") String SessionID);


    @GET("api.php/exists/mod/{mod}")
    Call<String>
    judge(@Path("mod") String mod,
          @Query("idolid") int idolid,
          @Header("SessionID") String SessionID);
}

